<template>
	<div>
		<uni-forms-item required label="用印文件(附件)" label-width="100%">
			<template #label>
				<div class="attachment_style">
					<div>
						<text class="label-text">用印文件(附件)</text>
					</div>
				</div>
			</template>
		</uni-forms-item>
		<view class="card-content mt20">
			<view class="label-text f26 mb20">上传附件</view>
			<view v-for="item in value" :key="item.id">
				<seal-set-item :value="item"></seal-set-item>
			</view>
		</view>
	</div>
</template>

<script>
import SealSetItem from './SealSetItem.vue'
export default {
	props: {
		value: {
			type: Array,
			default: () => {
				return []
			},
		},
	},
	components: { SealSetItem },
	data() {
		return {}
	},
	computed: {},
	mounted() {
		this.$store.commit('setSealFileList', this.value)
	},
	methods: {},
}
</script>

<style lang="less" scoped>
.attachment_style {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.label-text {
	color: #9a9a9a;
	font-size: 28rpx;
}
.label-text1 {
	color: #606266;
	font-size: 16px;
}
.is-required {
	color: red;
	font-weight: bold;
}
</style>
